#ifndef YHAIDA_TIMERID_H
#define YHAIDA_TIMERID_H
#include "../base/Utils.h"
#include <memory>
namespace yhaida
{
    //前向声明
    class Timer;

    class TimerID
    {
    public:
        // TimerID() = default;
        explicit TimerID(Timer *timer = NULL, int64_t seq = 0)
            : _id(timer),
              _seq(seq)
        {
        }
        ~TimerID() = default;
        friend class TimerQueue;

    private:
        Timer *_id;
        int64_t _seq;
    };

}

#endif